package cn.changeforyou.base.exception;

import cn.changeforyou.base.model.Module;

public class DataErrorInfo extends AbstractErrorInfo{

    public DataErrorInfo(String message) {
        super.message = message;
    }

    @Override
    public int getCode() {
        return DataExceptionEnum.PARAM_ERROR.getCode();
    }

    @Override
    public Module getModule() {
        return Module.DATA_MODULE;
    }
}
